#include "CatanException.h"

CatanException::CatanException(const char* file, const int line, const char* type, const char* exceptionDescription): file(file), line(line), type(type), exceptionDescription(exceptionDescription), hasPredecessor(false)
{
}

CatanException::CatanException(const char* file, const int line, const char* type, const char* exceptionDescription, const CatanException &predecessor): file(file), line(line), type(type), exceptionDescription(exceptionDescription), hasPredecessor(true), predecessor(&predecessor)
{
}
